package com.zhanghp.demo01.visitor;

import com.zhanghp.demo01.grade.Unit;
import lombok.extern.slf4j.Slf4j;

/**
 * @author zhanghp
 * @date 2022-08-10 10:24
 */
@Slf4j
public class CommanderVisitor implements UnitVisitor{
    @Override
    public void visit(Unit commander) {
        log.info("Good to See you {}", commander);
    }
}
